package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/4/26.
 */

public class GetTypeListBean implements IModel {
    /**
     * error_code : 0
     * msg : 成功
     * data : [{"id":"1","cate_name":"话剧"},{"id":"2","cate_name":"饭局"},{"id":"23","cate_name":"展览"},{"id":"24","cate_name":"LIVE"},{"id":"25","cate_name":"讲座"},{"id":"26","cate_name":"桌游"},{"id":"27","cate_name":"电影"},{"id":"28","cate_name":"演出"}]
     */

    private String error_code;
    private String msg;
    private List<DataBean> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * id : 1
         * cate_name : 话剧
         * isSelect : 是否选中
         */

        private String id;
        private String cate_name;
        private Boolean isSelect = false;

        public Boolean getSelect() {
            return isSelect;
        }

        public void setSelect(Boolean select) {
            isSelect = select;
        }


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCate_name() {
            return cate_name;
        }

        public void setCate_name(String cate_name) {
            this.cate_name = cate_name;
        }
    }
}
